Sha256: c038354b68d7aca2331e6e134e1c9fedf1da95729ed655a7969157043ce54c9c
Contents?: true
Size: 293 Bytes
Versions: 22
Compression:
Stored size: 293 Bytes
Contents
class CreateUser < ActiveRecord::Migration def self.up create_table :users do |t| t.string :name t.string :user_name t.string :email t.string :role t.string :role_groups t.timestamps end end def self.down drop_table :users end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.5.1 | spec/dummy/db/migrate/001_create_user.rb |
cantango-0.8.0 | spec/dummy/db/migrate/001_create_user.rb |