Commit 0eceb4be authored by Andreas Brandl's avatar Andreas Brandl

Use bigserial for internal_ids table.

parent b9f1c795
......@@ -6,7 +6,7 @@ class CreateInternalIdsTable < ActiveRecord::Migration
disable_ddl_transaction!
def up
create_table :internal_ids do |t|
create_table :internal_ids, id: :bigserial do |t|
t.references :project
t.integer :usage, null: false
t.integer :last_value, null: false
......
......@@ -1222,7 +1222,7 @@ ActiveRecord::Schema.define(version: 20180309160427) do
add_index "index_statuses", ["project_id"], name: "index_index_statuses_on_project_id", unique: true, using: :btree
create_table "internal_ids", force: :cascade do |t|
create_table "internal_ids", id: :bigserial, force: :cascade do |t|
t.integer "project_id"
t.integer "usage", null: false
t.integer "last_value", null: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment