lipsiadmin_generators/state_session/templates/migration.rb in lipsiadmin-5.1.6 vs lipsiadmin_generators/state_session/templates/migration.rb in lipsiadmin-5.1.7
- old
+ new
@@ -3,14 +3,14 @@
create_table :state_sessions, :force => true do |t|
t.references :account
t.string :component, :null => false
t.text :data
end
-
+
add_index :state_sessions, :component
end
def self.down
remove_index :state_sessions, :component
drop_table :state_sessions
end
-end
\ No newline at end of file
+end