diff options
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/postgresql.sql | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/db_definitions/postgresql.sql b/activerecord/test/fixtures/db_definitions/postgresql.sql index 67f3673734..cce4eec890 100644 --- a/activerecord/test/fixtures/db_definitions/postgresql.sql +++ b/activerecord/test/fixtures/db_definitions/postgresql.sql @@ -1,10 +1,11 @@ +CREATE SEQUENCE public.accounts_id_seq START 100; + CREATE TABLE accounts ( - id serial, + id integer DEFAULT nextval('public.accounts_id_seq'), firm_id integer, credit_limit integer, PRIMARY KEY (id) ); -SELECT setval('accounts_id_seq', 100); CREATE SEQUENCE companies_nonstd_seq START 101; |