diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20151208110020_add_note_to_users.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20151208110020_add_note_to_users.rb b/db/migrate/20151208110020_add_note_to_users.rb new file mode 100644 index 00000000000..52b1cdbb70d --- /dev/null +++ b/db/migrate/20151208110020_add_note_to_users.rb @@ -0,0 +1,5 @@ +class AddNoteToUsers < ActiveRecord::Migration + def change + add_column :users, :note, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index fb59e187625..1a0ec5b2d87 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20151203162133) do +ActiveRecord::Schema.define(version: 20151208110020) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -815,6 +815,7 @@ ActiveRecord::Schema.define(version: 20151203162133) do t.integer "consumed_timestep" t.integer "layout", default: 0 t.boolean "hide_project_limit", default: false + t.text "note" end add_index "users", ["admin"], name: "index_users_on_admin", using: :btree |