Created
December 25, 2015 09:27
-
-
Save IgorKarymov/8da1dd4edd2a4855d252 to your computer and use it in GitHub Desktop.
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
```sql | |
CREATE TABLE schema_migrations ( | |
version bigint NOT NULL, | |
inserted_at timestamp without time zone | |
); | |
ALTER TABLE ONLY schema_migrations | |
ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version); | |
INSERT INTO schema_migrations (version, inserted_at) VALUES (20151222140438, timezone('0', now())); | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment