Sha256: 84983931469b1728e8ccd09bfc7b12a92c23ec4e5fdc982ee46f28325d05cc5e

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

class CreateTableResources < ActiveRecord::Migration
    create_table :resources  do |t|
      t.string :id
      t.string :resource_key
      t.string :resource_value
    end

  def self.down
    drop_table :resources
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
apl-library-0.0.90 db/migrate/20140124064848_create_table_resources.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/db/migrate/20140124064848_create_table_resources.rb