Sha256: d274d9231a4a9a16b3d442b41b107c337783f7a590876b7b50ba4f61d7eb0b9a
Contents?: true
Size: 383 Bytes
Versions: 9
Compression:
Stored size: 383 Bytes
Contents
class CreateSubscribes < ActiveRecord::Migration[4.2] def change create_table :subscribes do |t| t.integer :subscription_id, null: false t.integer :work_id, null: false t.datetime :start_at, null: false t.datetime :end_at, null: false t.timestamps end add_index :subscribes, :subscription_id add_index :subscribes, :work_id end end
Version data entries
9 entries across 9 versions & 3 rubygems