Skip to content

Commit

Permalink
snap: add them
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisvisco committed May 17, 2024
1 parent db2b932 commit 95bf3ec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE tst_pg_add_column_12.articles ADD "created_at" TIMESTAMP(6) DEFAULT now() NOT NULL
ALTER TABLE tst_pg_add_column_12.articles ADD "updated_at" TIMESTAMP(6) DEFAULT now() NOT NULL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE tst_pg_change_column_1.articles ALTER COLUMN name TYPE INTEGER USING length(name)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE tst_pg_change_column_0.articles ALTER COLUMN name TYPE varchar(255)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CREATE TABLE tst_pg_rename_table_0.articles (
"id" SERIAL NOT NULL PRIMARY KEY
)
ALTER TABLE tst_pg_rename_table_0.articles RENAME TO posts

0 comments on commit 95bf3ec

Please sign in to comment.