提交 3a8207a9 编写于 作者: A Andreas Brandl

Use bigserial for internal_ids table.

上级 b1c7ee37
......@@ -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
......
......@@ -866,7 +866,7 @@ ActiveRecord::Schema.define(version: 20180309160427) do
add_index "identities", ["user_id"], name: "index_identities_on_user_id", 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册