First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
12
db/migrate/20121223135240_create_roles_table.rb
Normal file
12
db/migrate/20121223135240_create_roles_table.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class CreateRolesTable < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :roles do |t|
|
||||
t.string :name
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :roles
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue