feature: pq迁移新增citext扩展
This commit is contained in:
parent
0ee76d3c92
commit
b1027ef885
|
|
@ -1 +1,2 @@
|
||||||
|
DROP EXTENSION IF EXISTS citext;
|
||||||
DROP TABLE IF EXISTS movies;
|
DROP TABLE IF EXISTS movies;
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
CREATE EXTENSION IF NOT EXISTS citext;
|
||||||
CREATE TABLE IF NOT EXISTS movies (
|
CREATE TABLE IF NOT EXISTS movies (
|
||||||
id bigserial PRIMARY KEY,
|
id bigserial PRIMARY KEY,
|
||||||
created_at timestamp(0) with time zone NOT NULL DEFAULT NOW(),
|
created_at timestamp(0) with time zone NOT NULL DEFAULT NOW(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user