Sha256: 17bfb62506b98fc255aa387c03405a37d226fbef01c3548c1ff8e89fa2694865
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
class CreateImagineTables < ActiveRecord::Migration def change create_table :imagine_albums do |t| t.string :name end create_table :imagine_images do |t| t.string :file_name t.string :file_uid t.integer :album_id end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
imagine-0.3.0 | lib/rails/generators/imagine/templates/migration.rb |