Merge pull request 'Créer les tables seulement si elles n'existent pas déjà' (#27) from fix/seed-if-not-exists into main
Reviewed-on: #27
This commit is contained in:
commit
c7d88737b8
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
package models
|
||||
|
||||
const Schema = `
|
||||
CREATE TABLE programmes (
|
||||
CREATE TABLE IF NOT EXISTS programmes (
|
||||
id TEXT PRIMARY KEY,
|
||||
titre TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE membres (
|
||||
CREATE TABLE IF NOT EXISTS membres (
|
||||
id VARCHAR(7) PRIMARY KEY,
|
||||
last_name TEXT,
|
||||
first_name TEXT,
|
||||
|
|
Loading…
Reference in a new issue