Browse files

fix sql

  • Loading branch information...
1 parent fe2c8eb commit f39133887b67b2efc6b8c14bb17e5f91abda13bd @jamesward committed Jun 8, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 conf/evolutions/default/1.sql
View
7 conf/evolutions/default/1.sql
@@ -2,12 +2,13 @@
# --- !Ups
+create sequence s_bar_id;
+
create table bar (
- id serial primary key,
- name varchar(128)
+ id bigint DEFAULT nextval('s_bar_id'),
+ name varchar(128)
);
-create sequence s_bar_id;
# --- !Downs

0 comments on commit f391338

Please sign in to comment.