Skip to content

Instantly share code, notes, and snippets.

@IgorKarymov
Created December 25, 2015 09:27
Show Gist options
  • Save IgorKarymov/8da1dd4edd2a4855d252 to your computer and use it in GitHub Desktop.
Save IgorKarymov/8da1dd4edd2a4855d252 to your computer and use it in GitHub Desktop.
```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