Sha256: b0db5982ad051cb1c0f90d7975050dce022e0b72d317d5b82ee5ac3a0ea2d47b
Contents?: true
Size: 804 Bytes
Versions: 7
Compression:
Stored size: 804 Bytes
Contents
Sequel.migration do up do create_table(:frequency_periods) do primary_key :id String :name, null: false DateTime :created_at, null: false DateTime :updated_at, null: false end create_table(:clockwork_database_events) do primary_key :id Integer :frequency_quantity String :name, null: true String :at, null: false, default: '' Integer :frequency_period_id, null: false foreign_key [:frequency_period_id], :frequency_periods, name: 'clockwork_database_events_frequency_period_id_fkey' DateTime :created_at, null: false DateTime :updated_at, null: false index :frequency_period_id end end down do drop_table(:clockwork_database_events) drop_table(:frequency_periods) end end
Version data entries
7 entries across 7 versions & 1 rubygems