We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fe2025 + bbe21a8 commit 0980a2fCopy full SHA for 0980a2f
server/db/schema/invoices.sql
@@ -0,0 +1,9 @@
1
+CREATE TABLE invoices (
2
+ id INT PRIMARY KEY UNIQUE NOT NULL DEFAULT nextval('invoice_id_seq'),
3
+ event_id INT NOT NULL REFERENCES events(id),
4
+ start_date DATE NOT NULL,
5
+ end_date DATE NOT NULL,
6
+ is_sent BOOL NOT NULL DEFAULT False,
7
+ payment_status payment NOT NULL DEFAULT 'none'
8
+
9
+);
0 commit comments