Sha256: a7759e41851b634bed852633c349cb6c470b5d74ad0dd3e32e5d0bfe6442bd61

Contents?: true

Size: 801 Bytes

Versions: 1

Compression:

Stored size: 801 Bytes

Contents

Gemika::Database.new.rewrite_schema! do

  create_table :movies do |t|
    t.string :title
    t.integer :year
    t.integer :prequel_id
    t.integer :reviewer_id
    t.string :uuid_reviewer_id
    t.integer :box_office_result
  end

  create_table :users do |t|
    t.string :email
    t.string :name
    t.boolean :deleted
    t.boolean :locked
    t.boolean :subscribed
    t.boolean :scared
    t.boolean :scared_by_spiders
    t.datetime :created_at
  end

  create_table :uuid_users, :id => false do |t|
    t.string :id
    t.string :email
    t.string :name
    t.datetime :created_at
  end

  create_table :payments do |t|
    t.text :comment
    t.integer :amount
  end

  create_table :actors do |t|
  end

  create_table :job_offers do |t|
  end

  create_table :operas do |t|
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber_factory-2.1.0 spec/support/database.rb