Sha256: 6181c571fe7407cee552821e6d2f3a3dbe8215db68f4e2c2d83dcea0397e027d
Contents?: true
Size: 537 Bytes
Versions: 5
Compression:
Stored size: 537 Bytes
Contents
superclass = ActiveRecord::Migration superclass = ActiveRecord::Migration[5.0] if superclass.respond_to?(:[]) class CreateTables < superclass def change create_table :posts do |t| t.string :title t.string :file t.timestamps end create_table :post_with_collections do |t| t.string :title t.string :file t.timestamps end create_table :posts_with_collection_and_files do |t| t.string :title t.string :file t.string :group t.timestamps end end end
Version data entries
5 entries across 5 versions & 1 rubygems