Sha256: 807ff9640c42c1f6bb867d5cc1918f24ca6387adc40e7b8b966b31919e0f0d44
Contents?: true
Size: 454 Bytes
Versions: 4
Compression:
Stored size: 454 Bytes
Contents
# Use this schema to create all required tables class CreateDb < ActiveRecord::Migration def self.up create_table(:traffic_lights, force: true) do |t| t.string :state t.string :name end create_table(:orders, force: true) do |t| t.string :state t.string :order_number t.datetime :paid_at t.datetime :prepared_on t.datetime :dispatched_at t.date :cancellation_date end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
transitions-0.0.14 | test/db/create_db.rb |
transitions-0.0.13 | test/db/create_db.rb |
transitions-0.0.12 | test/db/create_db.rb |
transitions-0.0.11 | test/db/create_db.rb |