class CreateGuilds < ActiveRecord::Migration #def self.up # create_table :guilds do |t| # t.string :name # t.string :tag # t.integer :ogi_alliance_id, :default => 0 # t.integer :gold, :null => false # t.integer :diamanten, :null => false # t.text :description # t.integer :member_limit, :null => false # t.integer :experience_bonus, :null => false # t.integer :gold_bonus, :null => false # t.string :image_file_name # t.string :image_content_type # t.integer :image_file_size # t.timestamps # end # # add_index :guilds, [:name] # add_index :guilds, [:tag] #end # #def self.down # drop_table :guilds #end end