add db migrate
This commit is contained in:
parent
540f06c769
commit
24c99b8f49
|
@ -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
|
|
@ -1,5 +0,0 @@
|
|||
class AddStudentIdToUserextensions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :userextensions, :student_id, :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