12 lines
206 B
Ruby
12 lines
206 B
Ruby
|
class CreateUsers < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :users do |t|
|
||
|
t.string :name
|
||
|
t.integer :vk_id
|
||
|
t.string :lang, default: "ru"
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|