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.
1 parent 5eb27c4 commit bbe21a8Copy full SHA for bbe21a8
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