Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6c9b91d4
authored
Feb 08, 2014
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
and also databasechanges
1 parent
add711cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/BootstrapBean.java
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/BootstrapBean.java
View file @
6c9b91d
...
...
@@ -35,6 +35,11 @@ public class BootstrapBean implements BootstrapBeanLocal {
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE site_page_content ADD COLUMN locale varchar(10)"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE products ALTER COLUMN vat TYPE NUMERIC(4,3)"
});
dbUpdates
.
add
(
new
String
[]
{
"DELETE TABLE card_barcode"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE printed_cards DROP COLUMN barcode;"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE printed_cards DROP COLUMN rfid_uid;"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE reader_events ADD COLUMN event_users_id integer REFERENCES event_users(id) DEFAULT null;"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE reader_events ADD COLUMN places_id integer REFERENCES places(id) DEFAULT null;"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE reader_events ADD COLUMN products_id integer REFERENCES products(id) DEFAULT null;"
});
}
@EJB
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment