parent
7c8ecd1944
commit
5699a947ec
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
|||||||
|
class RenameCoursesColumnSchoolName < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
rename_column :courses, :school_name, :school_id
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
rename_column :courses, :school_id, :school_name
|
||||||
|
end
|
||||||
|
end
|
@ -0,0 +1,9 @@
|
|||||||
|
class ChangeCoursesColumnSchoolId < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
change_column :courses, :school_id, :integer
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
change_column :courses, :school_id, :string
|
||||||
|
end
|
||||||
|
end
|
@ -0,0 +1,5 @@
|
|||||||
|
class AddSchoolIdToUserExtensions < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :user_extensions, :school_id, :integer
|
||||||
|
end
|
||||||
|
end
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue