Sha256: f80b69ab88a7fae37d821dfde6bc19911f0971becfbc2202b672bff0b0e4d2f4
Contents?: true
Size: 447 Bytes
Versions: 16
Compression:
Stored size: 447 Bytes
Contents
require 'marty/migrations' 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
16 entries across 16 versions & 1 rubygems