Sha256: 557a4e00e5266202d9dfbc98cd15c5430b86ffbcd3ba528188d93e30bbfe84e1

Contents?: true

Size: 723 Bytes

Versions: 11

Compression:

Stored size: 723 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

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cucumber_factory-2.0.2 spec/support/database.rb
cucumber_factory-2.0.1 spec/support/database.rb
cucumber_factory-2.0.0 spec/support/database.rb
cucumber_factory-1.15.1 spec/support/database.rb
cucumber_factory-1.15.0 spec/support/database.rb
cucumber_factory-1.14.2 spec/support/database.rb
cucumber_factory-1.14.1 spec/support/database.rb
cucumber_factory-1.14.0 spec/support/database.rb
cucumber_factory-1.13.0 spec/support/database.rb
cucumber_factory-1.12.0 spec/support/database.rb
cucumber_factory-1.11.9 spec/support/database.rb