Sha256: 519680f36aa7ca63353acde954c084eb3c7e55926be6051266683dd002de9d75
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
class CreateUsers < ActiveRecord::Migration[6.0] def change create_table :users do |t| t.string :email t.string :first_name t.string :last_name t.text :extra_billing_info end create_table :teams do |t| t.string :email t.string :name t.references :owner, polymorphic: true end create_table :accounts do |t| t.string :email t.string :merchant_processor t.string :pay_data end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pay-lago-0.1.1 | test/dummy/db/migrate/20170205000000_create_users.rb |
pay-lago-0.1.0 | test/dummy/db/migrate/20170205000000_create_users.rb |