Enlarged screenshot description field to 80 chars
This commit is contained in:
parent
e2c73511bc
commit
9024833921
2 changed files with 9 additions and 4 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class ScreenshotsEnlargeDescription < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :screenshots, :description, :text, limit: 80
|
||||
end
|
||||
end
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160408143714) do
|
||||
ActiveRecord::Schema.define(version: 20160715180453) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -51,7 +51,7 @@ ActiveRecord::Schema.define(version: 20160408143714) do
|
|||
t.boolean "approved", default: false, null: false
|
||||
t.boolean "markedfordelete"
|
||||
t.string "delete_reason", limit: 100
|
||||
t.string "description", limit: 40
|
||||
t.text "description"
|
||||
t.datetime "updated_at"
|
||||
t.string "image_file_name"
|
||||
t.string "image_content_type"
|
||||
|
|
@ -65,8 +65,6 @@ ActiveRecord::Schema.define(version: 20160408143714) do
|
|||
|
||||
create_table "users", force: :cascade do |t|
|
||||
t.text "realname"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "email", default: "", null: false
|
||||
t.string "encrypted_password", default: "", null: false
|
||||
t.integer "sign_in_count", default: 0, null: false
|
||||
|
|
@ -77,6 +75,8 @@ ActiveRecord::Schema.define(version: 20160408143714) do
|
|||
t.integer "failed_attempts", default: 0, null: false
|
||||
t.string "unlock_token"
|
||||
t.datetime "locked_at"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue