Sha256: 52985ca7f87530b9386ca78588b2a5853038ada38b23928a91c6ffaa4c220e41

Contents?: true

Size: 442 Bytes

Versions: 6

Compression:

Stored size: 442 Bytes

Contents

ActiveRecord::Migration.verbose       = false
# ActiveRecord::Base.logger             = Logger.new nil
ActiveRecord::Base.establish_connection :adapter => "sqlite3", :database => ":memory:"

ActiveRecord::Schema.define(:version => 1) do

  create_table :pages do |t|
    t.integer  :parent_id
    t.string   :permalink
    t.integer  :position
    t.string   :title
    t.string   :content
    t.boolean  :is_page

    t.timestamps
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tiny_cms-0.2.3 test/support/page_migration.rb
tiny_cms-0.2.2 test/support/page_migration.rb
tiny_cms-0.2.1 test/support/page_migration.rb
tiny_cms-0.2.0 test/support/page_migration.rb
tiny_cms-0.1.1 test/support/page_migration.rb
tiny_cms-0.1.0 test/support/page_migration.rb