Skip to content

Migrations (Version 2)

users

Schema Definition
CREATE TABLE users
(
  name VARCHAR PRIMARY KEY,
  age INTEGER NOT NULL
);

addresses

Schema Definition
CREATE TABLE address
(
  name VARCHAR PRIMARY KEY,
  address TEXT NOT NULL,

  FOREIGN KEY (name) REFERENCES users (name)
);