16 lines
262 B
Ruby
16 lines
262 B
Ruby
|
class CreateGroups < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :groups do |t|
|
||
|
t.text :name
|
||
|
t.text :desc
|
||
|
t.text :city
|
||
|
t.text :province
|
||
|
t.text :country
|
||
|
t.text :link
|
||
|
t.integer :user_id
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|