Adding user settings (model and mailer), no form yet
This commit is contained in:
parent
943c69c65d
commit
06016453bd
6 changed files with 45 additions and 2 deletions
13
db/schema.rb
13
db/schema.rb
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20161003145426) do
|
||||
ActiveRecord::Schema.define(version: 20161006213403) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -126,6 +126,17 @@ ActiveRecord::Schema.define(version: 20161003145426) do
|
|||
t.index ["uid"], name: "index_oauth_applications_on_uid", unique: true, using: :btree
|
||||
end
|
||||
|
||||
create_table "settings", force: :cascade do |t|
|
||||
t.string "var", null: false
|
||||
t.text "value"
|
||||
t.string "target_type", null: false
|
||||
t.integer "target_id", null: false
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.index ["target_type", "target_id", "var"], name: "index_settings_on_target_type_and_target_id_and_var", unique: true, using: :btree
|
||||
t.index ["target_type", "target_id"], name: "index_settings_on_target_type_and_target_id", using: :btree
|
||||
end
|
||||
|
||||
create_table "statuses", force: :cascade do |t|
|
||||
t.string "uri"
|
||||
t.integer "account_id", null: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue