1. 2
    Create a Table in Supabase
    35s

Create a Table in Supabase

Jon Meyers
InstructorJon Meyers
Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 3 years ago

Supabase makes it super easy to create new tables, and change the structure of your database over time!

In this video, we look at creating a lesson table, which will store our publicly available data for each lesson. We add a column for title and description, and input some basic test data.

Instructor: [0:00] Let's head over to the Table Editor to create our first table. Let's click "Create New Table." The name for this one is going to be Lesson. We have some automatically generated columns for ID and created_at, and we want to add a new column for our title, which is going to be of type text, and a column for our description, which will also be text.

[0:20] Now, let's click "Save" to create our new table. We can create some example lessons by clicking "Insert Row" and filling in our title and description and click "Save" to create that new record. Let's create another example lesson. Now, we have a Lesson table with some example data.

egghead
egghead
~ 18 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today