mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
working on adding time to schedule
This commit is contained in:
parent
284fc73f78
commit
061a3b9fde
8 changed files with 56 additions and 9 deletions
5
db/migrate/20170412204724_add_time_to_schedule.rb
Normal file
5
db/migrate/20170412204724_add_time_to_schedule.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddTimeToSchedule < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :schedules, :time, :integer, default: 960
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170405183356) do
|
||||
ActiveRecord::Schema.define(version: 20170412204724) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -127,6 +127,7 @@ ActiveRecord::Schema.define(version: 20170405183356) do
|
|||
t.integer "question_list_id"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "time", default: 960
|
||||
t.index ["school_id"], name: "index_schedules_on_school_id", using: :btree
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue