Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert datetime to timestamp without time zone rather than timestamp with time zone #9

Open
DouweM opened this issue May 12, 2015 · 0 comments

Comments

@DouweM
Copy link

DouweM commented May 12, 2015

diff --git a/Users/douwemaan/Desktop/snippets.table.psql b/Users/douwemaan/Desktop/snippets.table.mysql
index 0ca7fd6..8d77d01 100644
--- a/Users/douwemaan/Desktop/snippets.table.psql
+++ b/Users/douwemaan/Desktop/snippets.table.mysql
@@ -2,15 +2,15 @@
       Column      |            Type             |                       Modifiers                       
 ------------------+-----------------------------+-------------------------------------------------------
  id               | integer                     | not null default nextval('snippets_id_seq'::regclass)
- title            | character varying(255)      | 
+ title            | character varying(510)      | default NULL::character varying
  content          | text                        | 
  author_id        | integer                     | not null
  project_id       | integer                     | 
- created_at       | timestamp without time zone | 
- updated_at       | timestamp without time zone | 
- file_name        | character varying(255)      | 
- expires_at       | timestamp without time zone | 
- type             | character varying(255)      | 
+ created_at       | timestamp with time zone    | 
+ updated_at       | timestamp with time zone    | 
+ file_name        | character varying(510)      | default NULL::character varying
+ expires_at       | timestamp with time zone    | 
+ type             | character varying(510)      | default NULL::character varying
  visibility_level | integer                     | not null default 0
 Indexes:
     "snippets_pkey" PRIMARY KEY, btree (id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant