12 lines
191 B
Ruby
12 lines
191 B
Ruby
|
class CreateUsers < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :users do |t|
|
||
|
t.string :name
|
||
|
t.integer :marks
|
||
|
t.string :role
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|