Tables are pretty useless without data in them! In SQL we can add records to a table using an INSERT INTO statement. When using an INSERT statement we must first specify the table we are inserting the record into, followed by the fields within that table we want to add VALUES to.
Example INSERT INTO statement:
INSERT INTO employees(id, name, title)
VALUES (1, 'Allan', 'Engineer');
Let's start manually adding some of the records to our users table!
Take a look at the CREATE TABLE statement in the setup code in the up.sql tab for the users table structure, and use that information to insert the following records into the table:
id: 1name: Davidage: 34country_code: USusername: DavidDevpassword: insertPracticeis_admin: falseid: 2name: Samanthaage: 29country_code: BRusername: Sammy93password: addingRecords!is_admin: false