Sha256: f997f01ee3074c0c2da643f33641dcefc34b558b9b8b2e041e37cb4ef434e1df
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
class CreateRequests < ActiveRecord::Migration[4.2] def change create_table :update_request_requests do |t| t.belongs_to :updateable, polymorphic: true t.belongs_to :requester, polymorphic: true t.belongs_to :approver, polymorphic: true t.text :update_schema t.boolean :applied, null: false, default: false t.timestamps null: false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
update_request-0.1.0 | db/migrate/20160105123605_create_requests.rb |