mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
parent
5fdc1938af
commit
5a533e09bf
44 changed files with 1027 additions and 375 deletions
|
@ -963,7 +963,6 @@ ActiveRecord::Schema.define(version: 20170424115801) do
|
|||
|
||||
create_table "prices", force: :cascade do |t|
|
||||
t.string "desc"
|
||||
t.string "category"
|
||||
t.integer "price_cents", null: false
|
||||
t.datetime "valid_from"
|
||||
t.datetime "valid_to"
|
||||
|
@ -973,8 +972,11 @@ ActiveRecord::Schema.define(version: 20170424115801) do
|
|||
t.datetime "updated_at", null: false
|
||||
t.string "duration"
|
||||
t.string "operation_category"
|
||||
t.integer "zone_id", null: false
|
||||
end
|
||||
|
||||
add_index "prices", ["zone_id"], name: "index_prices_on_zone_id", using: :btree
|
||||
|
||||
create_table "que_jobs", id: false, force: :cascade do |t|
|
||||
t.integer "priority", limit: 2, default: 100, null: false
|
||||
t.datetime "run_at", default: "now()", null: false
|
||||
|
@ -1132,4 +1134,5 @@ ActiveRecord::Schema.define(version: 20170424115801) do
|
|||
|
||||
add_index "zones", ["origin"], name: "unique_zone_origin", unique: true, using: :btree
|
||||
|
||||
add_foreign_key "prices", "zones"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue