Guest User

Untitled

a guest
May 29th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. require 'rubygems'
  2. require 'active_record'
  3.  
  4. ActiveRecord::Schema.verbose = false
  5.  
  6. ActiveRecord::Base.establish_connection(:adapter => "mysql", :database => "wow_dbc", :user => "root", :password => "")
  7.  
  8. ActiveRecord::Base.configurations = true
  9. ActiveRecord::Schema.define(:version => 1) do
  10. create_table :talent_tabs do |t|
  11. t.string :name, :null => false
  12. t.integer :spell_icon_id, :null => false
  13. t.integer :character_class_id, :null => true
  14. t.integer :pet_class_id, :null => true
  15. t.integer :tab_number, :null => false
  16. t.string :reference_string, :null => false
  17. end
  18. end
Add Comment
Please, Sign In to add comment