Sha256: e7fb43721b5ab2715ebf3f060c3c071584ad7db45c8d4f89a6d1d1d12caf9bd0
Contents?: true
Size: 677 Bytes
Versions: 9
Compression:
Stored size: 677 Bytes
Contents
class CreateBookings < ActiveRecord::Migration[5.1] def change create_table :dhatu_bookings do |t| t.string :name, :null => false, limit: 256 t.references :service, index: true t.string :email, null: true, limit: 256 t.string :mobile, null: true, limit: 16 t.date :date, :null => true t.string :time, null: true, limit: 16 t.string :message, :limit=>1048 t.boolean :featured, default: false t.string :status, :null => false, :default=>"new", :limit=>16 # Additional Details t.text :additional_attributes t.timestamps null: false end add_index :dhatu_bookings, :status end end
Version data entries
9 entries across 9 versions & 1 rubygems