extended execution environments by a default file type that is used as the default for associated exercises' files
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
class AddFileTypeIdToExecutionEnvironments < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :execution_environments, :file_type
|
||||
end
|
||||
end
|
@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150204080832) do
|
||||
ActiveRecord::Schema.define(version: 20150310150712) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@ -45,6 +45,7 @@ ActiveRecord::Schema.define(version: 20150204080832) do
|
||||
t.integer "user_id"
|
||||
t.string "user_type"
|
||||
t.integer "pool_size"
|
||||
t.integer "file_type_id"
|
||||
end
|
||||
|
||||
create_table "exercises", force: true do |t|
|
||||
|
Reference in New Issue
Block a user