rs-basic/members/diesel-demo/migrations/2024-06-26-135835_create_posts/up.sql

9 lines
158 B
SQL

-- Your SQL goes here
CREATE TABLE `posts`(
`id` INT4 NOT NULL PRIMARY KEY,
`title` VARCHAR NOT NULL,
`body` TEXT NOT NULL,
`published` BOOL NOT NULL
);