فهرست منبع

table rename pali_sent_org->pali_sent_orgs

visuddhinanda 4 سال پیش
والد
کامیت
865ccf247d

+ 1 - 1
db/postgresql/migrations/2021-11-28-011002_pali_sent_org/down.sql

@@ -1,3 +1,3 @@
 
 DROP INDEX  IF EXISTS  pali_sent_org_uid ;
-DROP TABLE pali_sent_org ;
+DROP TABLE pali_sent_orgs ;

+ 2 - 2
db/postgresql/migrations/2021-11-28-011002_pali_sent_org/up.sql

@@ -1,5 +1,5 @@
 -- 表:pali_sent
-CREATE TABLE pali_sent_org (
+CREATE TABLE pali_sent_orgs (
     id INTEGER PRIMARY KEY,
     book      INTEGER,
     paragraph INTEGER,
@@ -17,5 +17,5 @@ CREATE TABLE pali_sent_org (
 );
 
 -- 索引:sentId
-CREATE INDEX pali_sent_org_uid ON pali_sent_org (book, paragraph, word_begin, word_end);
+CREATE INDEX pali_sent_org_uid ON pali_sent_orgs (book, paragraph, word_begin, word_end);