Adding exclusive lists feature
Major new feature, currently testing in a branch right now. Fixes #1
This commit is contained in:
6
db/migrate/20190726034905_add_is_exclusive_to_lists.rb
Normal file
6
db/migrate/20190726034905_add_is_exclusive_to_lists.rb
Normal file
@ -0,0 +1,6 @@
|
||||
class AddIsExclusiveToLists < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :lists, :is_exclusive, :boolean
|
||||
change_column_default :lists, :is_exclusive, false
|
||||
end
|
||||
end
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2019_07_12_233435) do
|
||||
ActiveRecord::Schema.define(version: 2019_07_26_034905) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@ -344,6 +344,7 @@ ActiveRecord::Schema.define(version: 2019_07_12_233435) do
|
||||
t.string "title", default: "", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.boolean "is_exclusive", default: false
|
||||
t.index ["account_id"], name: "index_lists_on_account_id"
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user