Sha256: 303c163e21b9cdd9b68debd24ba54ce1efe92ea00e0f49052d086493521d8f7e

Contents?: true

Size: 554 Bytes

Versions: 4

Compression:

Stored size: 554 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.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 :payments do |t|
    t.text :comment
    t.integer :amount
  end

  create_table :actors do |t|
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumber_factory-1.11.8 spec/support/database.rb
cucumber_factory-1.11.7 spec/support/database.rb
cucumber_factory-1.11.6 spec/support/database.rb
cucumber_factory-1.11.5 spec/support/database.rb