Skip to content

Commit f4b29bf

Browse files
committed
Add db to source control
1 parent f74157a commit f4b29bf

5 files changed

+2734
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
db/*.sqlite3
33
log/
44
tmp/
5-
db
65
config/initializers/secret_token.rb
76
config/database.yml
87
config/*.sphinx.conf
@@ -13,3 +12,5 @@ public/auto_style_screenshots
1312
config/initializers/password_salt.rb
1413
config/initializers/vanilla.rb
1514
config/initializers/omniauth.rb
15+
db/sphinx
16+
db/cstore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class CreatePrecalculatedWarning < ActiveRecord::Migration
2+
def change
3+
create_table :precalculated_warnings do |t|
4+
t.references :style, :null => false, :index => true
5+
t.string :warning_type, :null => false, :limit => 20
6+
t.string :detail, :null => false, :limit => 1000
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)