Sha256: 82f2fb5faea7ecbe5a85cc767b9e8b84f604f4ba0e1cd8cd9d04765218799537
Contents?: true
Size: 770 Bytes
Versions: 2
Compression:
Stored size: 770 Bytes
Contents
module Eaco module Cucumber module ActiveRecord # @!method schema # # Defines the database schema for the {Eaco::Cucumber::World} scenario. # # @see Eaco::Cucumber::World # ::ActiveRecord::Schema.define(version: '2015022301') do create_table 'documents', force: true do |t| t.string :name t.column :acl, :jsonb end create_table 'users', force: true do |t| t.string :name end create_table 'departments', force: true do |t| t.string :abbr end create_table 'positions', force: true do |t| t.string :job_title t.references :user t.references :department end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eaco-0.6.1 | lib/eaco/cucumber/active_record/schema.rb |
eaco-0.6.0 | lib/eaco/cucumber/active_record/schema.rb |