-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: readme with docs & add minor test
- Loading branch information
Showing
3 changed files
with
123 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
BEGIN; | ||
-- | ||
-- Create model Bar | ||
-- | ||
CREATE TABLE "core_bar" ( | ||
"id" serial NOT NULL PRIMARY KEY, | ||
"alpha" varchar(100) NOT NULL | ||
); | ||
|
||
CREATE INDEX "field_name_idx" ON "table_name" ("field_name"); | ||
|
||
ALTER TABLE table_name ADD CONSTRAINT field_name_constraint UNIQUE (field_name); | ||
|
||
ALTER TABLE "core_recipe" ADD COLUMN "foo" integer DEFAULT 10; | ||
|
||
COMMIT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters