Sha256: a7959d24edea9e8bec922ab53c6284044878c18e688de44516b30efa07d46aa2
Contents?: true
Size: 715 Bytes
Versions: 2
Compression:
Stored size: 715 Bytes
Contents
class CreateTestTables < ActiveRecord::Migration def change create_table :samsara_revisions do |t| t.string :action t.integer :subject_id t.string :subject_type t.text :modified_attributes t.text :original_attributes t.references :context, index: true t.timestamps end create_table :samsara_contexts do |t| t.string :event_type t.text :event_attributes t.string :environment_name t.string :application_name t.timestamps end create_table :celebrities do |t| t.string :first_name t.string :last_name t.integer :gender t.date :birth_date end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
samsara-0.0.3 | spec/dummy/db/migrate/20150223145759_create_test_tables.rb |
samsara-0.0.2 | spec/dummy/db/migrate/20150223145759_create_test_tables.rb |