Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

leave the schema alone

  • Loading branch information...
commit 4aa7b539b12798003629852d242ed7a457375056 1 parent 90cdac5
@will-r will-r authored
View
22 db/schema.rb
@@ -11,6 +11,22 @@
ActiveRecord::Schema.define(:version => 20100810151922) do
+ create_table "assets", :force => true do |t|
+ t.string "caption"
+ t.string "title"
+ t.string "asset_file_name"
+ t.string "asset_content_type"
+ t.integer "asset_file_size"
+ t.integer "created_by_id"
+ t.integer "updated_by_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.string "uuid"
+ t.integer "original_width"
+ t.integer "original_height"
+ t.string "original_extension"
+ end
+
create_table "config", :force => true do |t|
t.string "key", :limit => 40, :default => "", :null => false
t.string "value", :default => ""
@@ -35,6 +51,12 @@
t.integer "lock_version", :default => 0
end
+ create_table "page_attachments", :force => true do |t|
+ t.integer "asset_id"
+ t.integer "page_id"
+ t.integer "position"
+ end
+
create_table "page_fields", :force => true do |t|
t.integer "page_id"
t.string "name"
View
9 lib/tasks/database.rake
@@ -18,15 +18,8 @@ namespace :db do
end
end
- task :initalize => :environment do
- require 'highline/import'
- if ENV['OVERWRITE'].to_s.downcase == 'true' or agree("This task will destroy any data in the database. Are you sure you want to \ncontinue? [yn] ")
- Rake::Task["db:schema:load"].invoke
- end
- end
-
desc "Bootstrap your database for Radiant."
- task :bootstrap => :initalize do
+ task :bootstrap => :remigrate do
require 'radiant/setup'
Radiant::Setup.bootstrap(
:admin_name => ENV['ADMIN_NAME'],
View
0  vendor/plugins/dataset/tasks/dataset.rake → lib/tasks/dataset.rake
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.