fix DDL
This commit is contained in:
parent
371cf1ea42
commit
fdea4be36f
88 changed files with 375 additions and 37617 deletions
|
@ -1,23 +0,0 @@
|
|||
-- Convert schema 'share/ddl/_source/deploy/24/001-auto.yml' to 'share/ddl/_source/deploy/25/001-auto.yml':;
|
||||
|
||||
;
|
||||
BEGIN;
|
||||
|
||||
;
|
||||
CREATE TABLE transaction_recurring (
|
||||
id integer NOT NULL,
|
||||
transaction_id integer NOT NULL,
|
||||
recurring_period varchar(255) NOT NULL,
|
||||
FOREIGN KEY (transaction_id) REFERENCES transactions(id) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
;
|
||||
CREATE INDEX transaction_recurring_idx_transaction_id ON transaction_recurring (transaction_id);
|
||||
|
||||
;
|
||||
CREATE UNIQUE INDEX transaction_recurring_transaction_id ON transaction_recurring (transaction_id);
|
||||
|
||||
;
|
||||
|
||||
COMMIT;
|
||||
|
Reference in a new issue