Sha256: 8a02b73deefb4a64726098fc60d9b85b268d8ea82c1b936369d912a83df230e1
Contents?: true
Size: 419 Bytes
Versions: 174
Compression:
Stored size: 419 Bytes
Contents
class CreateMartyPostings < McflyAppendOnlyMigration include Marty::Migrations def change create_table :marty_postings do |t| t.string :name, null: false, limit: 255 t.references :posting_type, null: false t.string :comment, null: false, limit: 255 end add_mcfly_index :marty_postings, :name, :posting_type_id add_fk :postings, :posting_types end end
Version data entries
174 entries across 174 versions & 1 rubygems