16 lines
333 B
Ruby
16 lines
333 B
Ruby
|
class CreateApplyAddSchools < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :apply_add_schools do |t|
|
||
|
t.string :name
|
||
|
t.string :province
|
||
|
t.string :city
|
||
|
t.string :address
|
||
|
t.string :remarks
|
||
|
t.integer :school_id
|
||
|
t.integer :status, :default => false
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|