change table column name
This commit is contained in:
1 parent
ef56625321
commit
41471694d5
11 files changed
+318
-334
No files matched your search
@@ -54,21 +54,22 @@ CREATE TABLE IF NOT EXISTS branches (
|
||||
"created_at" TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS payment_cards (
|
||||
CREATE TABLE IF NOT EXISTS card_types (
|
||||
id bigserial PRIMARY KEY,
|
||||
price numeric(12, 2) NOT NULL DEFAULT 0,
|
||||
title json NOT NULL DEFAULT '{}'::json,
|
||||
content json NOT NULL DEFAULT '{}'::json,
|
||||
name json NOT NULL DEFAULT '{}'::json,
|
||||
price character varying(255) NOT NULL DEFAULT '',
|
||||
notes character varying(255) NOT NULL DEFAULT '',
|
||||
active boolean NOT NULL DEFAULT true,
|
||||
"updated_at" TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL,
|
||||
"created_at" TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS reasons_cards (
|
||||
CREATE TABLE IF NOT EXISTS card_states (
|
||||
id bigserial PRIMARY KEY,
|
||||
title json NOT NULL DEFAULT '{}'::json,
|
||||
price numeric(12, 2) NOT NULL DEFAULT 0,
|
||||
content json NOT NULL DEFAULT '{}'::json,
|
||||
name json NOT NULL DEFAULT '{}'::json,
|
||||
price character varying(255) NOT NULL DEFAULT '',
|
||||
notes character varying(255) NOT NULL DEFAULT '',
|
||||
active boolean NOT NULL DEFAULT true,
|
||||
created_at TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL,
|
||||
updated_at TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user