migration
This commit is contained in:
parent
46bec5710f
commit
b1e6b63d1f
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
# == Schema Information
|
# == Schema Information
|
||||||
#
|
#
|
||||||
# Table name: favorites
|
# Table name: favourites
|
||||||
#
|
#
|
||||||
# id :bigint(8) not null, primary key
|
# id :bigint(8) not null, primary key
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
|
10
db/schema.rb
10
db/schema.rb
|
@ -93,7 +93,7 @@ ActiveRecord::Schema.define(version: 2019_07_22_003649) do
|
||||||
t.bigint "account_id"
|
t.bigint "account_id"
|
||||||
t.string "image_file_name"
|
t.string "image_file_name"
|
||||||
t.string "image_content_type"
|
t.string "image_content_type"
|
||||||
t.integer "image_file_size"
|
t.bigint "image_file_size"
|
||||||
t.datetime "image_updated_at"
|
t.datetime "image_updated_at"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
|
@ -157,10 +157,10 @@ ActiveRecord::Schema.define(version: 2019_07_22_003649) do
|
||||||
t.string "actor_type"
|
t.string "actor_type"
|
||||||
t.boolean "discoverable"
|
t.boolean "discoverable"
|
||||||
t.string "also_known_as", array: true
|
t.string "also_known_as", array: true
|
||||||
t.boolean "is_pro", default: false, null: false
|
|
||||||
t.datetime "pro_expires_at"
|
|
||||||
t.datetime "silenced_at"
|
t.datetime "silenced_at"
|
||||||
t.datetime "suspended_at"
|
t.datetime "suspended_at"
|
||||||
|
t.boolean "is_pro", default: false, null: false
|
||||||
|
t.datetime "pro_expires_at"
|
||||||
t.boolean "is_verified", default: false, null: false
|
t.boolean "is_verified", default: false, null: false
|
||||||
t.boolean "is_donor", default: false, null: false
|
t.boolean "is_donor", default: false, null: false
|
||||||
t.boolean "is_investor", default: false, null: false
|
t.boolean "is_investor", default: false, null: false
|
||||||
|
@ -658,8 +658,8 @@ ActiveRecord::Schema.define(version: 2019_07_22_003649) do
|
||||||
create_table "status_pins", force: :cascade do |t|
|
create_table "status_pins", force: :cascade do |t|
|
||||||
t.bigint "account_id", null: false
|
t.bigint "account_id", null: false
|
||||||
t.bigint "status_id", null: false
|
t.bigint "status_id", null: false
|
||||||
t.datetime "created_at", default: -> { "CURRENT_TIMESTAMP" }, null: false
|
t.datetime "created_at", default: -> { "now()" }, null: false
|
||||||
t.datetime "updated_at", default: -> { "CURRENT_TIMESTAMP" }, null: false
|
t.datetime "updated_at", default: -> { "now()" }, null: false
|
||||||
t.index ["account_id", "status_id"], name: "index_status_pins_on_account_id_and_status_id", unique: true
|
t.index ["account_id", "status_id"], name: "index_status_pins_on_account_id_and_status_id", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue