Reformat project into workspaces
This commit is contained in:
1 parent
20bb10114b
commit
c3e2cf5ed3
38 files changed
+4863
-4186
No files matched your search
@@ -0,0 +1,14 @@
|
||||
-- migrate:up
|
||||
CREATE EXTENSION IF NOT EXISTS ltree;
|
||||
|
||||
CREATE TABLE categories (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name TEXT NOT NULL,
|
||||
path ltree NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX idx_categories_path_gist ON categories USING gist (path);
|
||||
|
||||
-- migrate:down
|
||||
DROP TABLE IF EXISTS categories;
|
||||
DROP EXTENSION IF EXISTS ltree;
|
||||
Reference in new issue
Block a user