Sha256: 25cfdadc810879f09d4ecce65fb220b609564bf188889f152b93fb684a99baa7

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :title
      t.references :account
      t.references :address

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/db/migrate/create_users.rb
emergent-core-0.1.02 rails_generators/emergent_config/templates/db/migrate/create_users.rb
emergent-core-0.1.01 rails_generators/emergent_config/templates/db/migrate/create_users.rb