-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdump.sql
More file actions
62 lines (47 loc) · 1.72 KB
/
Copy pathdump.sql
File metadata and controls
62 lines (47 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
-- -------------------------------------------------------------
-- TablePlus 6.8.0(654)
--
-- https://tableplus.com/
--
-- Database: neondb
-- Generation Time: 2026-03-08 17:19:20.7720
-- -------------------------------------------------------------
DROP VIEW IF EXISTS "public"."წიგნები";
DROP VIEW IF EXISTS "public"."თემები";
CREATE VIEW "public"."წიგნები" AS ;
CREATE VIEW "public"."თემები" AS ;
;
DROP TABLE IF EXISTS "public"."მუხლები";
-- Sequence and defined type
CREATE SEQUENCE IF NOT EXISTS "მუხლები_id_seq";
-- Table Definition
CREATE TABLE "public"."მუხლები" (
"id" int4 NOT NULL DEFAULT nextval('"მუხლები_id_seq"'::regclass),
"თავი" int4 NOT NULL,
"მუხლი" int4 NOT NULL,
"ტექსტი" text NOT NULL,
"თემა" text,
"წიგნი" text NOT NULL,
"ძველი_წიგნი" text,
"ძველი_ტექსტი" text,
"updated_at" timestamptz DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY ("id")
);
DROP TABLE IF EXISTS "public"."განმარტებები";
-- Sequence and defined type
CREATE SEQUENCE IF NOT EXISTS table_name_id_seq;
-- Table Definition
CREATE TABLE "public"."განმარტებები" (
"id" int4 NOT NULL DEFAULT nextval('table_name_id_seq'::regclass),
"mukhli_id" int4 NOT NULL,
"ავტორი" text NOT NULL,
"ტექსტი" text NOT NULL,
"updated_at" timestamptz DEFAULT CURRENT_TIMESTAMP
);
DROP TABLE IF EXISTS "public"."db_version";
-- Table Definition
CREATE TABLE "public"."db_version" (
"id" int4 NOT NULL,
"version" int4 NOT NULL,
PRIMARY KEY ("id")
);