Require explicit version number for asciicast "version" column
This commit is contained in:
parent
dad5f40c17
commit
336f0213d9
@ -0,0 +1,5 @@
|
||||
class RemoveDefaultFromAsciicastsVersion < ActiveRecord::Migration
|
||||
def change
|
||||
change_column_default :asciicasts, :version, nil
|
||||
end
|
||||
end
|
@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150227112949) do
|
||||
ActiveRecord::Schema.define(version: 20150228174314) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@ -53,7 +53,7 @@ ActiveRecord::Schema.define(version: 20150227112949) do
|
||||
t.string "user_agent"
|
||||
t.string "theme_name"
|
||||
t.float "snapshot_at"
|
||||
t.integer "version", default: 0, null: false
|
||||
t.integer "version", null: false
|
||||
t.string "file"
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user