Add boolean flag to allow file creation
This commit is contained in:
@ -0,0 +1,5 @@
|
|||||||
|
class AddAllowFileCreationToExercises < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :exercises, :allow_file_creation, :boolean
|
||||||
|
end
|
||||||
|
end
|
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20160426114951) do
|
ActiveRecord::Schema.define(version: 20160510145341) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@ -89,6 +89,7 @@ ActiveRecord::Schema.define(version: 20160426114951) do
|
|||||||
t.string "token"
|
t.string "token"
|
||||||
t.integer "team_id"
|
t.integer "team_id"
|
||||||
t.boolean "hide_file_tree"
|
t.boolean "hide_file_tree"
|
||||||
|
t.boolean "allow_file_creation"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "exercises", ["execution_environment_id"], name: "test3", using: :btree
|
add_index "exercises", ["execution_environment_id"], name: "test3", using: :btree
|
||||||
|
Reference in New Issue
Block a user