Publier Globinours 1.0.0-rc.3
This commit is contained in:
parent
ea8c24d622
commit
9a2b4068da
325 changed files with 38230 additions and 20 deletions
21
migrations/036_app_settings.sql
Normal file
21
migrations/036_app_settings.sql
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
CREATE TABLE IF NOT EXISTS app_settings (
|
||||
setting_key TEXT PRIMARY KEY,
|
||||
setting_value TEXT NOT NULL,
|
||||
updated_by INTEGER,
|
||||
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
||||
FOREIGN KEY(updated_by) REFERENCES users(id) ON DELETE SET NULL
|
||||
);
|
||||
|
||||
INSERT OR IGNORE INTO app_settings(setting_key,setting_value) VALUES
|
||||
('association_name','Association'),
|
||||
('association_address',''),
|
||||
('association_postal_code',''),
|
||||
('association_city',''),
|
||||
('association_phone',''),
|
||||
('association_email',''),
|
||||
('association_siret',''),
|
||||
('association_rna',''),
|
||||
('adoption_fee_sterilized','220'),
|
||||
('adoption_fee_unsterilized','200'),
|
||||
('quarantine_days','15'),
|
||||
('backup_retention','10');
|
||||
Loading…
Add table
Add a link
Reference in a new issue