add migrate
This commit is contained in:
parent
6ce27271e3
commit
fffeec2044
|
@ -0,0 +1,7 @@
|
|||
class AddidentityToUserExtensions < ActiveRecord::Migration
|
||||
def up
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
class RemoveidentityFromUserExtensions < ActiveRecord::Migration
|
||||
def up
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddIdentityToUserExtensions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_extensions, :identity, :integer
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddStudentIdToUserExtensions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_extensions, :student_id, :integer
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddTeacherRealnameToUserExtensions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_extensions, :teacher_realname, :string
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddStudentrRealnameToUserExtensions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_extensions, :student_realname, :string
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue