Add reserved domains management #2565

This commit is contained in:
Martin Lensment 2015-07-07 18:52:58 +03:00
parent b9c8aefd19
commit 8ef8147b06
11 changed files with 132 additions and 20 deletions

View file

@ -11,10 +11,11 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150706091724) do
ActiveRecord::Schema.define(version: 20150707154543) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "hstore"
create_table "account_activities", force: :cascade do |t|
t.integer "account_id"
@ -212,6 +213,12 @@ ActiveRecord::Schema.define(version: 20150706091724) do
t.string "updator_str"
end
create_table "data_migrations", id: false, force: :cascade do |t|
t.string "version", null: false
end
add_index "data_migrations", ["version"], name: "unique_data_migrations", unique: true, using: :btree
create_table "delegation_signers", force: :cascade do |t|
t.integer "domain_id"
t.string "key_tag"
@ -928,7 +935,7 @@ ActiveRecord::Schema.define(version: 20150706091724) do
create_table "que_jobs", id: false, force: :cascade do |t|
t.integer "priority", limit: 2, default: 100, null: false
t.datetime "run_at", default: '2015-06-30 14:16:50', null: false
t.datetime "run_at", default: '2015-06-30 14:16:49', null: false
t.integer "job_id", limit: 8, default: 0, null: false
t.text "job_class", null: false
t.json "args", default: [], null: false
@ -978,11 +985,11 @@ ActiveRecord::Schema.define(version: 20150706091724) do
add_index "registrars", ["code"], name: "index_registrars_on_code", using: :btree
create_table "reserved_domains", force: :cascade do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.string "creator_str"
t.string "updator_str"
t.hstore "names"
end
create_table "settings", force: :cascade do |t|
@ -1020,7 +1027,7 @@ ActiveRecord::Schema.define(version: 20150706091724) do
t.text "crt"
t.string "type"
t.string "registrant_ident"
t.string "encrypted_password", default: ""
t.string "encrypted_password", default: "", null: false
t.datetime "remember_created_at"
t.integer "failed_attempts", default: 0, null: false
t.datetime "locked_at"