X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/dc635b6d39be19a09a428282b6d639d029908df6..22f84a3ea8bc39eb4cb91575d35dfca683336032:/vendor/plugins/acts_as_authenticated/generators/authenticated/templates/migration.rb diff --git a/vendor/plugins/acts_as_authenticated/generators/authenticated/templates/migration.rb b/vendor/plugins/acts_as_authenticated/generators/authenticated/templates/migration.rb new file mode 100644 index 0000000..3f736b8 --- /dev/null +++ b/vendor/plugins/acts_as_authenticated/generators/authenticated/templates/migration.rb @@ -0,0 +1,18 @@ +class <%= migration_name %> < ActiveRecord::Migration + def self.up + create_table "<%= table_name %>", :force => true do |t| + t.column :login, :string + t.column :email, :string + t.column :crypted_password, :string, :limit => 40 + t.column :salt, :string, :limit => 40 + t.column :created_at, :datetime + t.column :updated_at, :datetime + t.column :remember_token, :string + t.column :remember_token_expires_at, :datetime + end + end + + def self.down + drop_table "<%= table_name %>" + end +end