mirror of
https://github.com/Noratrieb/karlheinz.git
synced 2026-01-16 15:35:02 +01:00
database
This commit is contained in:
parent
cc8646baff
commit
90ed6e1533
13 changed files with 224 additions and 711 deletions
8
migrations/2021-07-02-070233_create_posts/up.sql
Normal file
8
migrations/2021-07-02-070233_create_posts/up.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- Your SQL goes here
|
||||
|
||||
CREATE TABLE posts (
|
||||
id SERIAL PRIMARY KEY,
|
||||
author VARCHAR NOT NULL,
|
||||
title VARCHAR NOT NULL,
|
||||
body VARCHAR NOT NULL DEFAULT ''
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue