Sha256: 8ccddce6f7ad3af9cd5eec50f505709bff733681b00786b1288540d10aec5d9e
Contents?: true
Size: 553 Bytes
Versions: 20
Compression:
Stored size: 553 Bytes
Contents
class CreateTestResources < ActiveRecord::Migration def self.up create_table :documents do |t| t.string :name t.string :surname t.boolean :keep_alive t.timestamps end create_table :sections do |t| t.string :title t.integer :document_id t.timestamps end create_table :users do |t| t.string :email t.string :firstname t.string :lastname t.timestamps end end def self.down drop_table :documents drop_table :sections drop_table :users end end
Version data entries
20 entries across 20 versions & 1 rubygems