Sha256: 8adb3327f45c71f98b9848ca4748d5f6797620063eae2f03e0ddc2206cca7814
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 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.text :contents 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eaco-0.5.0 | lib/eaco/cucumber/active_record/schema.rb |