Arthur Poulet
c9fde074c0
* Remove mongodb (this database and the lib suck so much) * Update in the readme the database installation * Add migrations for users, points, messages, groups Note: Must be improved (FK, IX, ...) * Update database and add Sql requests
10 lines
159 B
SQL
10 lines
159 B
SQL
-- +micrate Up
|
|
CREATE TABLE users (
|
|
id SERIAL PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
CONSTRAINT name_uniq UNIQUE (name)
|
|
);
|
|
|
|
-- +micrate Down
|
|
DROP TABLE users;
|